﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TJDevHouse.Starcraft.Game
{
	public abstract class MapCoordinate
	{
		/// <summary>
		/// The X coordinate
		/// </summary>
		public int X { get; set; }

		/// <summary>
		/// The Y coordinate
		/// </summary>
		public int Y { get; set; }

		public MapCoordinate(int x, int y)
		{
			X = x;
			Y = y;
		}

		public abstract PixelMapCoordinate GetPixelCoordinate();
		public abstract WalkTileMapCoordinate GetWalkTileCoordinate();
		public abstract BuildTileMapCoordinate GetBuildTileCoordinate();

		public override string ToString()
		{
			return X + "," + Y;
		}
	}
}
